57b87201461dc2725fd704df8d27650fd2cb6bbe,source/com/intellij/openapi/diff/impl/patch/PatchBuilder.java,PatchBuilder,buildPatch,#Collection#String#boolean#,39

Before Change


    List<FilePatch> result = new ArrayList<FilePatch>();
    for(Change c: changes) {
      final ContentRevision beforeRevision = c.getBeforeRevision();
      final ContentRevision afterRevision = c.getAfterRevision();
      if (beforeRevision instanceof BinaryContentRevision || afterRevision instanceof BinaryContentRevision) {
        continue;
      }

After Change


      final ContentRevision beforeRevision;
      final ContentRevision afterRevision;
      if (reversePatch) {
        beforeRevision = c.getAfterRevision();
        afterRevision = c.getBeforeRevision();
      }
      else {